package com.zt.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

/**
 * @author 挚爱之夕
 * @version 1.0
 * @implSpec com.zt.reggie
 * @since 2023 - 02 - 23 - 16:00
 */
// 日志
@Slf4j
@SpringBootApplication
@EnableCaching
@ServletComponentScan   //开启Spring Cache缓存功能
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class, args);
        log.info("项目启动...");
    }
}
